package projectmanagerapp

class ManagerController {

def beforeInterceptor = [action:this.&auth]

def index() {
	redirect(controller: "project", action:"list")
}


def auth() {
if((!session.user) || (session.user.role != "Manager")) {
flash.message = "You must have Manager level access to use these features"
redirect(uri: "/")
return false
}

}


}

